<?php
final class Response {
	private $output;
	private $log;
	public function __construct($log){
		$this->log=$log;
	}
		
	public function setOutput($output) {
		$this->output = $output;
	}

	
	public function output() {
	
		if ($this->output) {
			
			$this->log->write($this->output);
		}
	}
}
?>